<template>
    <div class="music">
        <div class="music-ban">
            <div class="music-left">
                <img src="https://img1.kuwo.cn/star/albumcover/500/33/27/2197372588.jpg" alt />
                <div class="left">
                    <div class="left-top">
                        <p title="12212123">12212123</p>
                        <p title="12212123">12121222</p>
                    </div>
                    <div class="left-bottom">
                        <p>111111</p>
                    </div>
                </div>
            </div>
            <div class="music-content">
                <p>
                    <i class="iconfont icon-bar_icon_pre_"></i>
                    <i class="iconfont icon-cplay1"></i>
                    <i class="iconfont icon-bar_icon_next_"></i>
                </p>
            </div>
            <div class="music-right">
                <p>
                    <i class="iconfont icon-favorites"></i>
                    <i class="iconfont icon-bottom"></i>
                    <i class="iconfont icon-lyric_icon_comment_"></i>
                    <i class="iconfont icon-bar_icon_loop_"></i>
                    <i class="iconfont icon-bars"></i>
                </p>
            </div>
        </div>
    </div>
</template>

<script lang="" setup>
export default {
    name: "Musicplay",
    data() {
        return {};
    },
    mounted() { },
    computed: {},
    watch: {},
    methods: {
        format(percentage) {
            return percentage === 100 ? '满' : `${percentage}%`;
        }
    },
};
</script>
<style scoped>
.music {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 11111;
    width: 100%;
    height: 80px;
    background-color: whitesmoke;
}
.music-ban {
    width: 1280px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    box-sizing: border-box;
}
.music-left {
    display: flex;
    width: 500px;
    height: 80px;
    align-items: flex-end;
}
.music-left img {
    width: 80px;
    height: 80px;
}
.left-top {
    display: flex;
    justify-content: center;
}
.left-top p {
    display: flex;
    justify-content: space-between;
    width: 200px;
    margin: 0px;
    padding-left: 10px;
}
.left-bottom p {
    padding-left: 10px;
}
.left-bottom {
    display: flex;
    margin: 0;
    padding: 0;
}
.music-content {
    width: 280px;
    height: 80px;
    padding: 0;
}
.music-content p {
    margin: 0;
    width: 100%;
    height: 80px;
    line-height: 80px;

    text-align: center;
}
.music-content p i {
    line-height: 80px;
    margin: 10px;
    font-size: 30px;
}
.music-content p i:nth-child(1) {
    font-size: 25px;
}
.music-content p i:nth-child(3) {
    font-size: 25px;
}
.music-right {
    width: 500px;
    height: 80px;
}
.music-right p {
    width: 100%;
    height: 80px;
}
.music-right p i {
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 16px;
    text-align: center;
    margin: 0 10px;
}
</style>
